<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>상품 메인</title>
</head>
<body align="left">
<form method="post">
<table width="200" border="0" cellpading="0" cellspacing="0" align="left">
	<!-- 새로 등록된 상품 -->
	<tr><td colspan="5" >새로 등록된 상품 </td></tr>
	<tr>
	<s:iterator value="newProdList" status="stat">
		<td width="150" align="left">
			<table>
				<tr><td align="center"><a href="viewAction.action?prodcode=<s:property value="prodcode"/>"><img src="images/upload/<s:property value="savimage.split(',')[0]"/>" width="150" height="160"/></a></td></tr>
				<tr><td width=""><s:property value="prodname"/></td></tr>
				<tr><td>원산지:<s:property value="origin"/></td></tr>
				<tr><td>판매단위:<s:property value="unit"/></td></tr>
				<tr><td>가격:<s:property value="price"/>원</td></tr>
			</table>
			</a>
		</td>
	</s:iterator>
	</tr>
	<tr height="10"><td colspan="5"></td></tr>
	<!-- Hit 상품 -->
	<tr><td colspan="5">HIT 상품</td></tr>
	<tr>
	<s:iterator value="hitProdList" status="stat">
		<td width="150" align="center">
			<table>
				<tr><td align="center"><a href="viewAction.action?prodcode=<s:property value="prodcode"/>"><img src="images/upload/<s:property value="savimage.split(',')[0]"/>" width="150" height="160"/></a></td></tr>
				<tr><td width=""><s:property value="prodname"/></td></tr>
				<tr><td>원산지:<s:property value="origin"/></td></tr>
				<tr><td>판매단위:<s:property value="unit"/></td></tr>
				<tr><td>가격:<s:property value="price"/>원</td></tr>
			</table>
		</td>
	</s:iterator>
	</tr>
</table>
</form>
</body>
</html>